/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ucm;

import model.Te_Info_Model;
import view.Te_Login_View;
import view.Te_Psw_View;
import xml.Te_Info_XML;

/**
 *
 * @author 马凯
 */
public class Card_UC {

    private static Card_UC cuc;
    private String id;
    private Te_Psw_View tpw;
    private Te_Login_View tlv;
    private boolean correct = true;
    private Te_Info_Model tim;

    public static Card_UC getInstance(Te_Login_View tlv) {
        if (cuc == null) {
            cuc = new Card_UC();
            cuc.tlv = tlv;
        }
        return cuc;
    }

    public void run() {
        tpw = Te_Psw_View.getInstance(this, tlv);
        tpw.setVisible(true);
        tlv.setVisible(false);
    }
}
